package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author smith
 * @since 2025-05-27
 */
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户的id
     */
    @TableId(value = "cust_id", type = IdType.AUTO)
    private Integer custId;

    /**
     * 用户的姓名
     */
    private String custName;

    /**
     * 密码
     */
    private String custPwd;

    private Long custTelno;

    /**
     * 创建时间
     */
    private LocalDateTime custCreateTime;

    /**
     * 修改时间
     */
    private LocalDateTime custUpdataTime;

    public Integer getCustId() {
        return custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }
    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }
    public String getCustPwd() {
        return custPwd;
    }

    public void setCustPwd(String custPwd) {
        this.custPwd = custPwd;
    }
    public Long getCustTelno() {
        return custTelno;
    }

    public void setCustTelno(Long custTelno) {
        this.custTelno = custTelno;
    }
    public LocalDateTime getCustCreateTime() {
        return custCreateTime;
    }

    public void setCustCreateTime(LocalDateTime custCreateTime) {
        this.custCreateTime = custCreateTime;
    }
    public LocalDateTime getCustUpdataTime() {
        return custUpdataTime;
    }

    public void setCustUpdataTime(LocalDateTime custUpdataTime) {
        this.custUpdataTime = custUpdataTime;
    }

    @Override
    public String toString() {
        return "Customer{" +
            "custId=" + custId +
            ", custName=" + custName +
            ", custPwd=" + custPwd +
            ", custTelno=" + custTelno +
            ", custCreateTime=" + custCreateTime +
            ", custUpdataTime=" + custUpdataTime +
        "}";
    }
}
